using System.Collections.ObjectModel;

namespace LightningTools.BCSTesterMan.ViewModel
{
    public class ErrorButtonList : ObservableCollection<ErrorButton>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ErrorButtonList"/> class.
        /// </summary>
        public ErrorButtonList()
        {
            Add(new ErrorButton
            {
                Name = "MSDN - SharePoint 2010 Forums",
                QueryString = "http://social.msdn.microsoft.com/Search/en-US/?query={0}&rq=meta:Search.MSForums.GroupID(8371a7c9-5b1f-4aa7-9423-6a51854663ca)+site:microsoft.com&rn=All+SharePoint+2010+Forums"
            });

            Add(new ErrorButton
            {
                Name = "Bing",
                QueryString = "http://www.bing.com/search?q={0}"
            });

            Add(new ErrorButton
            {
                Name = "Google",
                QueryString = "http://www.google.com/search?q={0}"
            });

            Add(new ErrorButton
            {
                Name = "Stack Overflow",
                QueryString = "http://stackoverflow.com/search?q={0}"
            });

            Add(new ErrorButton
            {
                Name = "SharePoint Overflow",
                QueryString = "http://www.sharepointoverflow.com/search?q={0}"
            });

            Add(new ErrorButton
            {
                Name = "Copy to Clipboard",
                QueryString = "CopyToClipboard"
            });
        }
    }
}